Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 3.0.0 #23

Merged
merged 39 commits into from
Aug 26, 2024
Merged

Bump version to 3.0.0 #23

merged 39 commits into from
Aug 26, 2024

Conversation

gumob
Copy link
Owner

@gumob gumob commented Aug 26, 2024

Changes in 3.0.0

Breaking changes

  • refactor(Source/Extensions.swift, Source/Punycode.swift): Library name changed from TLDExtract to TLDExtractSwift to resolve namespace conflicts. For more details, please check the issue (apple/swift#56573).

    Please don't forget to update your source code.

    - import TLDExtract
    + import TLDExtractSwift

Other changes

  • build: Re-created .xcodeproj for Xcode 15.4 environment.
  • feature: Dropped support for Swift 4.
  • feature: Added watchOS and visionOS to supported platforms.
  • feature: Changed supported versions for macOS, iOS, and tvOS to match Xcode 15.4.

List of supported platforms and version changes

Version 3.0.0

  • macOS 10.13 or later
  • iOS 12.0 or later
  • tvOS 12.0 or later
  • watchOS 4.0 or later
  • visionOS 1.0 or later
  • Swift 5.0 or later

Version 2.x.x

  • iOS 9.3 or later
  • macOS 10.12 or later
  • tvOS 10.2 or later
  • Swift 4.2 or later

gumob added 30 commits August 24, 2024 22:40
… flag to Update Public Suffix List script phase

This commit adds the 'alwaysOutOfDate' flag to the 'Update Public Suffix List' script phase in the TLDExtractSwift Xcode project file. This change ensures that the script will be executed every time the project is built, regardless of whether its output has changed or not. This is useful for scripts that perform tasks like updating data files, which should always be run to ensure the latest information is used.
…e to TLDExtractSwift.h in Headers and fix the error below.

`DEFINES_MODULE was set, but no umbrella header could be found to generate the module map`

The change adds the Public attribute to the TLDExtractSwift.h file located in the Headers folder of the TLDExtractSwift project. This attribute is used to specify that the header file can be accessed by other modules, making it public. The change was made to improve the accessibility and usability of the TLDExtractSwift library.
…ate product and target names accordingly. This change is to improve the naming consistency and avoid confusion with other packages that may have similar names.
…nd add links to official documentation

This commit updates the fastlane README.md file by adding links to the official installation, documentation, and updating the text to reflect the current best practices for installing and using fastlane. This change improves the clarity and accuracy of the documentation, making it easier for developers to understand how to use fastlane in their projects.
 This script appears to be a Fastlane configuration file for an iOS project. It defines several lanes (tasks) for running tests on watchOS and visionOS simulators, building and linting with Swift Package Manager (SPM), Cocoapods, and Carthage.

   The removed lines were related to linting and pushing Cocoapods, which seem to have been replaced by similar tasks for SPM and Carthage.

   Here's a brief explanation of the added lanes:

   - `build_spm`: Builds and tests the project using Swift Package Manager.
   - `build_carthage`: Builds the project with Carthage for iOS, tvOS, watchOS, and (commented out) visionOS platforms.
   - `lint_cocoapods`: Lints Cocoapods libraries.
   - `push_cocoapods`: Pushes changes to the Cocoapods repository.

   The watchOS and visionOS tests are run using Fastlane's `run_tests` action, which launches the specified simulator, builds the project, runs the tests, generates code coverage reports, and saves the results in HTML and JUnit formats. The `slather` action is used to generate HTML test reports for watchOS and visionOS tests as well.

   It seems that this project no longer uses Cocoapods for dependency management, opting instead for Swift Package Manager and Carthage.
…, and visionOS with version 3.0.0, and dependencies on Punycode 3.0.
   - Change PunycodeSwift dependency to use semver range `~> 3.0` instead of branch-specific version `release/v3.0.0`.
   - Update Cartfile and Package.swift to reflect the change in dependency specification.
   - Update TLDExtractSwift.podspec author name from "gumob" to "Kojiro Futamura".
gumob added 9 commits August 26, 2024 00:04
ci: Update workflow to trigger on 'main' and 'develop' branches
… to support macOS, iOS, tvOS, watchOS, visionOS, and Swift 5

   Update the Cartfile and Podfile dependencies for TLDExtractSwift to include the latest version (3.0) for all platforms and Swift 5. Do not forget to include Punycode.framework.
 It seems like you are providing instructions on how to integrate the TLDExtract library into various projects using different build systems such as Swift Package Manager, Carthage, CocoaPods, and manually.

   For Swift Package Manager, you have provided two sets of dependencies for macOS, iOS, tvOS, and watchOS/visionOS with Swift 5 and Swift 4 respectively. The first set is for the latest version (3.0.x) and the second one is for the previous major version (2.1.1).

   For Carthage, you have provided a `Cartfile` snippet that includes TLDExtractSwift for macOS, iOS, tvOS, watchOS, visionOS, and Swift 5, 4, and 3 respectively. You also mentioned the need to include Punycode.framework.

   For CocoaPods, you have provided a `Podfile` snippet that includes TLDExtract for macOS, iOS, tvOS, watchOS, visionOS, and Swift 5, 4, and 3 respectively.

   Lastly, you have provided usage examples of initializing the TLDExtract object in Swift.

   It's great to see clear instructions on how to integrate a library into different projects using various build systems. Keep up the good work! If you need any help or have any questions, feel free to ask.
Package.swift Show resolved Hide resolved
Tests/TLDExtractSwiftTests.swift Show resolved Hide resolved
@gumob gumob merged commit ea54163 into main Aug 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant